<?php
$this->widget('zii.widgets.jui.CJuiAccordion',array(
    'panels'=>array(
        'รายละเอียดโครงการ'=>$this->renderPartial('_project',array('model'=>$model),true),
        'การสอบหัวข้อสารนิพนธ์'=>$this->renderPartial('_exam',array('model'=>$model->exams),true),
        // panel 3 contains the content rendered by a partial view
        'ผลการสอบ'=>$this->renderPartial('_result',array('model'=>$model->exams),true),
    ),
    // additional javascript options for the accordion plugin
    'options'=>array(
        //'animated'=>'bounceslide',
    ),
));
?>

<?php echo $this->renderPartial("/project/_reportForm");?>
<?php echo $this->renderPartial("/project/_attachmentForm");?>
<?php echo $this->renderPartial("//project/_notifyForm");?>
<script>
showReport(<?=$model->projectID?>);
showAttachment(<?=$model->projectID?>);
showNotifyStatus(<?=$model->projectID?>);
</script>